UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

All interactive user home directories must be group-owned by the home directory owner's primary group.


Overview

Finding ID Version Rule ID IA Controls Severity
V-903 GEN001520 SV-38491r1_rule ECLP-1 Medium
Description
If the GID of the home directory is not the same as the GID of the user, this would allow unauthorized access to files.
STIG Date
HP-UX 11.23 Security Technical Implementation Guide 2012-05-25

Details

Check Text ( C-36337r1_chk )
Check the group ownership for each user in the /etc/passwd file.

Procedure:
# ls -lLd

OR
# ls -lLd `cat /etc/passwd | cut -f 6,6 -d ":"` | more

If any user home directory is not group-owned by the assigned user's primary group, this is a finding. Home directories for application accounts requiring different group ownership must be documented using site-defined procedures.
Fix Text (F-31592r1_fix)
Change the group-owner for user home directories to the primary group of the assigned user.

Procedure:
# chgrp groupname directoryname

(Replace examples with appropriate group and home directory.)

Document all changes.